home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-01 | 4.4 KB | 94 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-1994 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _STDTYPES_
- #define _STDTYPES_
-
- #ifndef _ODTYPESB_
- #include "ODTypesB.idl"
- #endif
-
- //==============================================================================
- // Theory of Operation
- //==============================================================================
-
- /*
- This file is used to store all the standard persistent types. It must
- be compiled by the SOM compiler with -D EMIT_GLOBAL_CONSTANTS
- */
-
- //==============================================================================
- // Constants
- //==============================================================================
-
- #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
- #pragma somemittypes on
- #endif
-
- //# Universal Types
-
- const ODValueType kODBoolean = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Boolean";
- const ODValueType kODUShort = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:UShort";
- const ODValueType kODSShort = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SShort";
- const ODValueType kODULong = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULong";
- const ODValueType kODSLong = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SLong";
- const ODValueType kODULongSequence= "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULongSequence";
-
- const ODValueType kODISOStr = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStr";
- const ODValueType kODISOStrList = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStrList";
-
- const ODValueType kODMacIText = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:IntlText";
- const ODValueType kODIntlText = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IntlText";
-
- const ODValueType kODTime_T = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Time_T";
-
- const ODValueType kODPoint = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Point";
- const ODValueType kODRect = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Rect";
- const ODValueType kODPolygon = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Polygon";
-
- const ODValueType kODIconFamily = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily";
- const ODValueType kODIconFamilyMac = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Macintosh";
- const ODValueType kODIconFamilyWin = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Windows";
- const ODValueType kODIconFamilyOS2 = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:OS2";
- const ODValueType kODIconFamilyAIX = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:AIX";
-
- const ODValueType kODTransform = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Transform";
-
- const ODValueType kODEditor = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Editor";
-
- const ODType kODStrongStorageUnitRef = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
- const ODType kODWeakStorageUnitRef = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
-
- const ODType kODStrongStorageUnitRefs = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
- const ODType kODWeakStorageUnitRefs = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
-
- const ODValueType kODLinkSpec = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:LinkSpec";
- const ODValueType kODCloneKind = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:CloneKind";
-
- const ODValueType kODObjectType = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ObjectType";
-
- const ODValueType kODFrameList = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:FrameList";
- const ODValueType kODFrameLinks = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:FrameLinks";
-
-
- #ifdef _PLATFORM_MACINTOSH_
- //# Mac specific types:
-
- //# Printing (use in kODPropPageSetup property):
- const ODPropertyName kODTypeQuickDrawPageSetup = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:QuickDrawPageSetup";
- const ODPropertyName kODTypeGXPageSetup = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:GXPageSetup";
-
- #endif //_PLATFORM_MACINTOSH_
-
-
- #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
- #pragma somemittypes off
- #endif
-
- module OpenDoc_StdTypes
- {
- const string OpenDoc_StdTypes_Version = "1.0.";
- };
-
- #endif // _STDTYPES_
-
-